import { defineStore } from 'pinia';

// 定义状态和操作方法
export const useRrwebInfo = defineStore('rrwebInfo', () => {
  let rrwebInfo = {};

  const setRrwebInfo = (info) => {
    rrwebInfo = info;
  };

  const getRrwebInfo = () => {
    return rrwebInfo;
  };

  return {
    setRrwebInfo,
    getRrwebInfo,
  };
});
